<template>
  <div id="app">
     <router-view></router-view>
     <loading v-model="isLoading"></loading>
 <!--     <tab v-if="isSowtab"></tab> -->
  </div>
</template>

<script>
import { Loading } from 'vux'
import { mapState } from 'vuex'
export default {
  name: 'app',
  components: {
    Loading,
  },
  computed: {
   ...mapState({
      isLoading: state => state.isLoading,
      // isSowtab: state => state.isSowtab,
    })
  },
}
</script>

<style lang="less">
@import '~vux/src/styles/reset.less';
@import '~vux/src/styles/1px.less';

body {
  background-color: #fbf9fe;
}
</style>
